package cz.proks.bank.service.domain;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(namespace = "http://bank.proks.cz/service/ClientService/")
@XmlAccessorType(XmlAccessType.FIELD)
public class LoanRequest {
	@XmlElement(required = true)
	private int accountNumber;
	
	@XmlElement(required = true)
	private long amount;
	
	@XmlElement(required = true)
	private String currency;

	public int getAccountNumber() {
		return accountNumber;
	}

	public void setAccountNumber(int accountNumber) {
		this.accountNumber = accountNumber;
	}

	public long getAmount() {
		return amount;
	}

	public void setAmount(long amount) {
		this.amount = amount;
	}

	public String getCurrency() {
		return currency;
	}

	public void setCurrency(String currency) {
		this.currency = currency;
	}	
}
